<ion-view >
  <ion-header-bar  class="bar-calm" ng-controller="AllCtrl" align-title="center">
    <div class="buttons">
      <button class="button button-clear" ng-click="gotoback()"><i class="icon ion-chevron-left"></i></button>
    </div>
    <h1 class="title"><span style="font-size: 1.3rem">注册</span></h1>
  </ion-header-bar>
  <ion-content class="has-header" ng-controller="RegistCtrl">
    <label class="item item-input">
      <i class="icon ion-person-add placeholder-icon"></i>
      <span class="input-label">用户名：</span>
      <input type="text" placeholder="输入用户账号" ng-model="userName">
    </label>
    <label class="item item-input">
      <i class="icon ion-locked placeholder-icon"></i>
      <span class="input-label">密码：</span>
      <input type="password" placeholder="输入用户密码" ng-model="passWord">
    </label>
    <label class="item item-input">
      <i class="icon ion-checkmark-round placeholder-icon"></i>
      <span class="input-label">确认密码：</span>
      <input type="password" placeholder="确认密码是否一致" ng-model="surePass">
    </label>
    <label class="item item-input">
      <i class="icon ion-ribbon-b placeholder-icon"></i>
      <span class="input-label">年龄：</span>
      <input type="number" placeholder="输入年龄" ng-model="userAge">
    </label>
    <label class="item item-input">
      <i class="icon ion-android-mail placeholder-icon"></i>
      <span class="input-label">邮箱：</span>
      <input type="email" placeholder="输入邮箱" ng-model="userMail">
    </label>
    <div style="height: 3rem">
    </div>
    <button class="button button-full button-calm" ng-click="regist()">注册</button>
  </ion-content>
</ion-view>
